package com.woniuxy.builder;

/**
 * @Author: ideaAdmin
 * TODO: 负责具体的构造Computer
 * Date: 2022/2/15:13:09
 * Description:
 */

public class Director {
    Builder builder = null;


    public Director(Builder builder) {
        this.builder = builder;
    }

    public Director construct(String board, String display) {
        builder.buildBoard(board);
        builder.buildDisplay(display);
        builder.buildOs();
        return this;
    }
}
